# 打开文件
md_resource = open("README.md", "r")
while True:
    line_content = md_resource.readline()
    if not line_content:
        print("关闭文件")
        break
    print(line_content)
# 关闭文件
md_resource.close()